import java.io.Serializable;

public final class Entry implements Serializable {

    /**
     * 
     */
    private static final long serialVersionUID = 7440415988466802582L;
    
    /**
     * The stored value. 
     */
    private Serializable value;
    
    /**
     * The id of this entry. 
     */
    private int id;

    public Entry(final int id, final Serializable value) {
        this.id = id;
        this.value = value;
    }

    /**
     * @return Returns the id.
     */
    public int getID() {
        return this.id;
    }

    /**
     * @return Returns the value.
     */
    public Serializable getValue() {
        return this.value;
    }
}
